package com.im.gateway.tcp.dispatcher;

/**
 * @Created leijun
 * @Date 2021/9/12 9:07 下午
 */
public class DispatcherAddress {

    private String ip;

    private String host;

    private Integer port;

    public DispatcherAddress(String ip, String host, Integer port) {
        this.ip = ip;
        this.host = host;
        this.port = port;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    @Override
    public String toString() {
        return "DispatcherAddress{" +
                "ip='" + ip + '\'' +
                ", host='" + host + '\'' +
                ", port=" + port +
                '}';
    }
}
